//
//  UIButton+extention.h
//  Charge
//
//  Created by lxj on 2017/9/22.
//  Copyright © 2017年 lxj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (extension)

-(instancetype)initWithFrame:(CGRect)frame text:(NSString *)text textcolor:(UIColor *)textcolor backgroundcolor:(UIColor *)backgroundcolor fontSize:(CGFloat)fontSize haveCorner:(BOOL)haveCorner;

-(instancetype)initWithFrame:(CGRect)frame text:(NSString *)text textcolor:(UIColor *)textcolor backgroundcolor:(UIColor *)backgroundcolor fontSize:(CGFloat)fontSize haveCorner:(BOOL)haveCorner image:(NSString *)image selectImage:(NSString *)selectImage;

@end
